@import '~styles/module';

@include b(exception) {
  @include polyfill-row-gap(20px);

  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 10% 20px 20px;

  @include media-breakpoint-up(md) {
    flex-direction: row;
    justify-content: center;
  }

  @include e(bg) {
    flex-shrink: 0;
    width: calc(100% - 40px);
    max-width: 320px;
  }

  @include e(info) {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    justify-content: center;

    @include media-breakpoint-up(md) {
      align-items: flex-start;
      margin-left: 100px;
    }
  }

  @include e(status) {
    margin-bottom: 12px;
    /* stylelint-disable-next-line declaration-property-value-allowed-list */
    font-size: 56px;
    font-weight: $rd-font-weight-bold;
    font-variant-numeric: tabular-nums;

    @include media-breakpoint-up(md) {
      /* stylelint-disable-next-line declaration-property-value-allowed-list */
      font-size: 64px;
    }
  }

  @include e(description) {
    margin-bottom: 16px;
    /* stylelint-disable-next-line declaration-property-value-allowed-list */
    font-size: 24px;
    color: var(--#{$rd-prefix}text-color-sub);
    text-align: center;

    @include media-breakpoint-up(md) {
      text-align: left;
    }
  }
}
